<div class="userinfo-form">
    <div class="avatar"><img src="<?php echo STATIC_URL; ?>/img/user-avatar.jpg" width="50" height="50"/></div>
    <div class="info">
        <div class="name"><a href="<?php echo SITE_URL; ?>/user"><?php echo USER_NAME ?></a></div>
        <div class="action"><a href="<?php echo SITE_URL; ?>/user/logout">(logout)</a></div>
    </div>
</div>